package com.heima.search.pojos;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Xiao
 * @version 1.0
 * @description APP用户搜索信息表
 * @date 2021/11/28
 */
@Data
@Document(collection = "ap_user_search")
public class ApUserSearch implements Serializable {
    private static final long serialVersionUID = 1L;
    private String id;  //主键
    private Integer userId; //用户ID
    private String keyword; //搜索词
    private Date createdTime;   //创建时间
}
